Skip to content

add validator logic for query filters#224

Draft
haileyok wants to merge 3 commits into
mainfrom
hailey/query-filter-json-serialization
Draft

add validator logic for query filters#224
haileyok wants to merge 3 commits into
mainfrom
hailey/query-filter-json-serialization

Conversation

@haileyok
Copy link
Copy Markdown
Member

Description

This PR is adding a small query filter validator. Eventually we'll expose a small API endpoint that allows the UI to validate SML that is included in the query endpoint (or...configured in a visual builder) and returns errors to the user (without needing to submit a query).

We technically could just write some JS validator that runs in the frontend - and tbh that's probably the better direction eventually - but I don't think we want to end up maintaining a second bit of validation logic right now. There's some other options but they are also all very heavy on the frontend side that I also really do not feel like introducing right now.

Checklist

  • Tests pass locally
  • uv run ruff check . passes (no unused imports or other lint errors)
  • uv tool run fawltydeps --check-unused --pyenv .venv passes (no unused dependencies)
  • Updated CHANGELOG.md with my changes, if applicable

@haileyok haileyok requested review from a team, EXBreder, ayubun and vinaysrao1 as code owners April 19, 2026 08:50
@cassidyjames cassidyjames marked this pull request as draft May 15, 2026 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants